home *** CD-ROM | disk | FTP | other *** search
/ The Mac 13 / the-mac-13.iso / Shareware City / Demos / TextPak Demo / Text Items / TextPak_List Class < prev    next >
Encoding:
Text File  |  1995-03-02  |  889 b   |  5 lines  |  [TEXT/MPS ]

  1. {Body Text}The {Emphasise}TextPak_List{Body Text} class automatically formats and controls text lists. You pass a Collection or Array of Strings to the TextPak_List.SetList() method, along with the maximum number of items that can be shown at any time.
  2. {Body Text}If there are more items to show than this value, the system splits the items into a series of pages, which you can flip between with arrow buttons. You can, of course, define the size, position and appearence of these "next page" and "previous page" arrows.
  3. {Body Text}When the user clicks on a list item, a highlight object is displayed. Again this can be specified in code to customise its appearance.
  4. {Body Text}The TextPak_List class handles all user interaction with the list items, and returns you an index into the original array or collection. You may then take any action you wish based on the list item clicked on.
  5.